#ifndef IO_CONNECTOR_H
#define IO_CONNECTOR_H
#include "io_service.h"
#include "service_url.h"

namespace vpm
{
	namespace mina
	{

		class IoConnector : public IoService 
		{
		public:
            virtual ~IoConnector()
            {
            }
			virtual int connect(const ServiceUrl & peerUrl, const ServiceUrl &localUrl = ServiceUrl("") ) =0;

			virtual int disconnect()
			{
				return 0; 
			} 

		};
	}
}

#endif // IO_CONNECTOR_H


